<template>
	 <div class='search-list'>

		 <div class='search-item' v-show="items.length" v-for="item in items" v-if="item.type === 3 || item.type === 2 ">
			<recruit-view    :item="item"></recruit-view>
			<!-- <request-view v-if="item.type === 1" :item="item"></request-view>
			<status-view v-if="item.type === 0" :item="item"></status-view> -->
		 </div>
	 </div>
</template>

<script>

import RecruitView from './recruitView.vue'
import RequestView from './requestView'
import StatusView from './StatusView'
import { PostServiceClass } from '../../../services/post.js'
import VueRouter from 'vue-router'

const post = new PostServiceClass()
export default {
	name:'PostView',
	components:{
		RecruitView,
		RequestView,
		StatusView
	},
	props:{
        items:Array
  }
}

</script>
